package com.nna.videoplayer;

public class Globals {
	public static String fileName; 
	private static boolean nativeVideoPlayer=false;
	
	public static void setNativeVideoPlayer(boolean b){
		nativeVideoPlayer = b;
	}
	public static void setFileName(String fName) {
		fileName = fName;
	}
	
	static boolean isNativeLibrariesLoaded = false;
	public static void LoadNativeLibraries() {
		if (!isNativeLibrariesLoaded) {

			System.loadLibrary("ffmpeg");

			System.loadLibrary("sdl");
			System.loadLibrary("sdl_ttf");
			System.loadLibrary("sdl_image");

			System.loadLibrary("iconv");
			System.loadLibrary("universalchardet");

			System.loadLibrary("yuv2rgb");

			System.loadLibrary("application");

			isNativeLibrariesLoaded = true;
		}
	}
	public static boolean getNativeVideoPlayer()
	{
		return nativeVideoPlayer;
	}
	
}
